//{ "allowLiterals": "in-intersections" }
type Foo1 = {};

type Foo2 = {
  name: string;
  age: number;
};

type Foo3 = {
  name: string;
  age: number;
  walk: (miles: number) => void;
};

type Foo4 = { name: string } | { age: number };

type Foo8 = {};

type Foo9 = {} | {};